package cn.icare.cms.model.ro;

import cn.icare.cms.model.vo.rest.ItemPicVo;

import java.math.BigDecimal;
import java.util.List;

public class ItemDetailVO {

    private Long id;
    /**
     * 商品编号
     */
    private String code;

    /**
     * 商品名称
     */

    private String title;


    /**
     * 商品关键字
     */

    private String keywords;

    /**
     * 净含量
     */

    private String weight;

    /**
     * 净含量计量单位，如:克
     */

    private String unit;

    /**
     * 商品价格（单位元）精确到小数点后两位
     */

    private BigDecimal price;


    /**
     * 商品主图片
     */

    private String image;

    /**
     * 商品状态，1-正常，2-下架，3-删除
     */

    private Byte status;

    /**
     * 商品详情
     */

    private String description;


    /**
     * 保质期，如7天
     */

    private String exp;

    /**
     * 保存条件,如常温
     */
    private String storageconditions;

    /**
     * 产品图片列表
     */
    private List<String> itempics;

    /**
     * 促销价
     */
    private BigDecimal promprice;


    /**
     * 促销开始时间
     */
    private String promstarttime;

    /**
     * 促销结束时间
     */
    private String promendtime;

    /**
     * 库存量
     */
    private Integer num;

    /**
     * 已经加入购物车数量
     */
    private Integer shopcartnum;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getExp() {
        return exp;
    }

    public void setExp(String exp) {
        this.exp = exp;
    }

    public String getStorageconditions() {
        return storageconditions;
    }

    public void setStorageconditions(String storageconditions) {
        this.storageconditions = storageconditions;
    }

    public List<String> getItempics() {
        return itempics;
    }

    public void setItempics(List<String> itempics) {
        this.itempics = itempics;
    }

    public BigDecimal getPromprice() {
        return promprice;
    }

    public void setPromprice(BigDecimal promprice) {
        this.promprice = promprice;
    }

    public String getPromstarttime() {
        return promstarttime;
    }

    public void setPromstarttime(String promstarttime) {
        this.promstarttime = promstarttime;
    }

    public String getPromendtime() {
        return promendtime;
    }

    public void setPromendtime(String promendtime) {
        this.promendtime = promendtime;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getShopcartnum() {
        return shopcartnum;
    }

    public void setShopcartnum(Integer shopcartnum) {
        this.shopcartnum = shopcartnum;
    }
}
